<template>
  <transition>
    <slot></slot>
  </transition>
</template>

<script>
export default {
  name: 'RotateAnimation'
}
</script>

<style scoped>
.v-enter,.v-leave-to{
  transform:translateX(9vw) rotate(180deg);
  opacity: 0;
}
.v-enter-active,.v-leave-active{
  transition: all 0.5s;
}
</style>
